<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑</title>
    <link rel="stylesheet" href="/static/style.css">
    <link rel="stylesheet" href="/static/layui/css/layui.css">
</head>
<body>
<div class="vote-add">
    <form class="layui-form layui-form-pane" lay-filter="editForm" id="editForm" action="">
        <input type="hidden" name="id">
        <div class="layui-form-item" pane>
            <label class="layui-form-label">工号</label>
            <div class="layui-input-block">
                <input type="text" name="jobNumber" id="jobNumber" lay-verType="tips" required lay-verify="required|number" placeholder="请输入工号" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline" pane>
            <label class="layui-form-label">姓名</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verType="tips" required lay-verify="required" placeholder="用户名" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline" pane>
            <label class="layui-form-label">学院</label>
            <div class="layui-input-block">
                <input type="text" name="academy" lay-verType="tips" required lay-verify="required" placeholder="所在学院" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="true" title="男">
                <input type="radio" name="sex" value="false" title="女">
            </div>
        </div>
        <div class="layui-form-item layui-hide">
            <input type="button" lay-submit lay-filter="user-edit-submit" id="user-edit-submit" value="确认">
        </div>
    </form>
</div>
<script src="/static/layui/layui.js"></script>
<script>
    layui.extend({
        userList: '/static/lib/userList'
    });
    layui.use(['form', 'jquery', 'userList'], function () {
        var $ = layui.$
            ,form = layui.form;
        form.render();
    });
</script>
</body>
</html>